examples/example/source/rawexample.d(22,29): Error: `@safe` function `rawexample.Base_foo` cannot call `@system` function `deimos.python.object.Py_None!().Py_None` deimos/python/object.d(1171,20): `deimos.python.object.Py_None!().Py_None` is declared here examples/example/source/rawexample.d(22,21): Error: `@safe` function `rawexample.Base_foo` cannot call `@system` function `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` deimos/python/object.d(1093,6): `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` is declared here examples/example/source/rawexample.d(28,29): Error: `@safe` function `rawexample.Base_bar` cannot call `@system` function `deimos.python.object.Py_None!().Py_None` deimos/python/object.d(1171,20): `deimos.python.object.Py_None!().Py_None` is declared here examples/example/source/rawexample.d(28,21): Error: `@safe` function `rawexample.Base_bar` cannot call `@system` function `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` deimos/python/object.d(1093,6): `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` is declared here examples/example/source/rawexample.d(40,29): Error: `@safe` function `rawexample.Derived_bar` cannot call `@system` function `deimos.python.object.Py_None!().Py_None` deimos/python/object.d(1171,20): `deimos.python.object.Py_None!().Py_None` is declared here examples/example/source/rawexample.d(40,21): Error: `@safe` function `rawexample.Derived_bar` cannot call `@system` function `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` deimos/python/object.d(1093,6): `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` is declared here examples/example/source/rawexample.d(51,29): Error: `@safe` function `rawexample.hello` cannot call `@system` function `deimos.python.object.Py_None!().Py_None` deimos/python/object.d(1171,20): `deimos.python.object.Py_None!().Py_None` is declared here examples/example/source/rawexample.d(51,21): Error: `@safe` function `rawexample.hello` cannot call `@system` function `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` deimos/python/object.d(1093,6): `deimos.python.object.Py_INCREF!(Borrowed!(PyObject)*).Py_INCREF` is declared here examples/example/source/rawexample.d(111,58): Error: `example_methods.ptr` cannot be used in `@safe` code, use `&example_methods[0]` instead examples/example/source/rawexample.d(113,34): Error: `@safe` function `initexample` cannot access `__gshared` data `PyType_Type` examples/example/source/rawexample.d(113,20): Error: `@safe` function `rawexample.initexample` cannot call `@system` function `deimos.python.object.Py_SET_TYPE!(PyTypeObject).Py_SET_TYPE` deimos/python/object.d(185,6): `deimos.python.object.Py_SET_TYPE!(PyTypeObject).Py_SET_TYPE` is declared here examples/example/source/rawexample.d(116,32): Error: `Base_methods.ptr` cannot be used in `@safe` code, use `&Base_methods[0]` instead examples/example/source/rawexample.d(120,19): Error: cast from `PyTypeObject*` to `PyObject*` not allowed in safe code examples/example/source/rawexample.d(121,39): Error: cast from `PyTypeObject*` to `PyObject*` not allowed in safe code examples/example/source/rawexample.d(123,37): Error: `@safe` function `initexample` cannot access `__gshared` data `PyType_Type` examples/example/source/rawexample.d(123,20): Error: `@safe` function `rawexample.initexample` cannot call `@system` function `deimos.python.object.Py_SET_TYPE!(PyTypeObject).Py_SET_TYPE` deimos/python/object.d(185,6): `deimos.python.object.Py_SET_TYPE!(PyTypeObject).Py_SET_TYPE` is declared here examples/example/source/rawexample.d(126,35): Error: `Derived_methods.ptr` cannot be used in `@safe` code, use `&Derived_methods[0]` instead examples/example/source/rawexample.d(131,19): Error: cast from `PyTypeObject*` to `PyObject*` not allowed in safe code examples/example/source/rawexample.d(132,42): Error: cast from `PyTypeObject*` to `PyObject*` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.